import {createRouter,createWebHashHistory} from 'vue-router'

import Main from '@/components/Main.vue'
import Teacher from '@/components/Teacher.vue'
import Course from '@/components/Course.vue'
const router = createRouter({
    history: createWebHashHistory(),
    routes:[
        {
            path:'/',
            component:Main
        },
        {
            path:'/Teacher',
            component:Teacher
        },
        {
            path:'/Course',
            component:Course
        }
    ]
})

export default router